// 菜单处理程序配置文件
export default {
  'test-toast': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'TestToast' }
  },
  'close-toast': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'CloseToast' }
  },
  'ocx-ui-setting': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'ConfigGraph' }
  },
  'test-dialog1': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'TestDialog1' }
  },
  'test-dialog2': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'TestDialog2' }
  },
  'view-center': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'CenterView' }
  },
  'view-update': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'UpdateView' }
  },
  'file-new': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'NewGraph' }
  },
  'file-delete': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'DeleteGraph' }
  },
  'file-open': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'OpenGraph' }
  },
  'file-save': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'SaveGraph' }
  },
  'file-share': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'ShareGraph' }
  },
  'file-import': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'ImportGraph' }
  },
  'file-export': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'ExportGraph' }
  },
  pointer: {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'DrawPointer' }
  },
  'draw-node': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'DrawNode' }
  },
  'draw-link': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'DrawLink' }
  },
  'edit-undo': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'Undo' }
  },
  'edit-redo': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'Redo' }
  },
  'edit-copy': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'Copy' }
  },
  'edit-cut': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'Cut' }
  },
  'edit-paste': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'Paste' }
  },
  'edit-delete': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'Delete' }
  },
  'edit-clear-all': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'ClearAll' }
  },
  'edit-select-all': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'SelectAll' }
  },
  group: {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'Group' }
  },
  ungroup: {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'UnGroup' }
  },
  'reverse-link': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'ReverseSelectedLink' }
  },
  // 'set-link-category': {
  //   action: 'editor/diagram/callFunction',
  //   args: { sCmd: 'SetSelectedLinkCategory' }
  // },
  'auto-layout': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'AutoLayout' }
  },
  'play-animation': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'PlayAnimation' }
  },
  'simple-test': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'SimpleTest' }
  },
  'filter-selection': {
    action: 'editor/diagram/callFunction',
    args: { sCmd: 'FilterSelection' }
  }
}
